# GPT-6 Astra

Canonical page: https://agentsky.dev/models/openai/gpt-6-astra
JSON record: https://gateway.agentsky.dev/v1/models/openai/gpt-6-astra

GPT-6 Astra is a text and image-input model by OpenAI, available through the AgentSky API as openai/gpt-6-astra at $7.00 per million input tokens and $35.00 per million output tokens, with a 1.1M context window.

OpenAI's flagship for the hardest end-to-end work across complex reasoning, coding, computer use, research, and document creation.

## Facts

- **Model id:** `openai/gpt-6-astra`
- **Maker:** OpenAI
- **Input modalities:** Text, Image
- **Context:** 1.1M
- **Max output tokens:** 128,000
- **Released:** Sep 3, 2026
- **Aliases:** `openai/gpt-6-astra`, `gpt-6-astra`

## Pricing

USD per million tokens on the default plan. Signed-in pages show your own plan's price; every response carries the cost of that call in `usage.cost`.

| Input context (tokens) | Cache mode | Thinking | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|
| Up to 272,000 | default | default | $7.00 | $35.00 | $0.7 | — |
| Up to 1,050,000 | default | default | $14.00 | $52.50 | $1.40 | — |

## Use it

Anthropic wire base URL: `https://gateway.agentsky.dev`. OpenAI wire base URL: `https://gateway.agentsky.dev/v1`. Authenticate with an AgentSky API key (`ast_…`) and pass the model id.

### OpenAI SDK

```js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "openai/gpt-6-astra",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response
```

### Codex

```bash
export OPENAI_BASE_URL="https://gateway.agentsky.dev/v1"
export OPENAI_API_KEY="$AGENTSKY_API_KEY"

codex --model openai/gpt-6-astra
```

### OpenCode

```js
// opencode.json — then switch models any time with /models
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "agentsky": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "AgentSky",
      "options": {
        "baseURL": "https://gateway.agentsky.dev/v1",
        "apiKey": "{env:AGENTSKY_API_KEY}"
      },
      "models": { "openai/gpt-6-astra": {} }
    }
  }
}
```

## Run it with an agent

- [Hermes + GPT-6 Astra](https://agentsky.dev/agents/hermes/with/gpt-6-astra)
- [Claude Code + GPT-6 Astra](https://agentsky.dev/agents/claude-code/with/gpt-6-astra)
- [Codex + GPT-6 Astra](https://agentsky.dev/agents/codex/with/gpt-6-astra)
- [OpenClaw + GPT-6 Astra](https://agentsky.dev/agents/openclaw/with/gpt-6-astra)
- [pi + GPT-6 Astra](https://agentsky.dev/agents/pi/with/gpt-6-astra)
- [DeepSeek Harness + GPT-6 Astra](https://agentsky.dev/agents/dsh/with/gpt-6-astra)
- [Kimi Code + GPT-6 Astra](https://agentsky.dev/agents/kimi-code/with/gpt-6-astra)
- [OpenCode + GPT-6 Astra](https://agentsky.dev/agents/opencode/with/gpt-6-astra)
- [Cline + GPT-6 Astra](https://agentsky.dev/agents/cline/with/gpt-6-astra)
- [DeepAgents + GPT-6 Astra](https://agentsky.dev/agents/deepagents/with/gpt-6-astra)
- [goose + GPT-6 Astra](https://agentsky.dev/agents/goose/with/gpt-6-astra)
- [Grok Build + GPT-6 Astra](https://agentsky.dev/agents/grok-build/with/gpt-6-astra)
- [Kilo + GPT-6 Astra](https://agentsky.dev/agents/kilo/with/gpt-6-astra)
- [MiniMax Code + GPT-6 Astra](https://agentsky.dev/agents/minimax-code/with/gpt-6-astra)
- [Qwen Code + GPT-6 Astra](https://agentsky.dev/agents/qwen-code/with/gpt-6-astra)

## Questions

### What is GPT-6 Astra?

GPT-6 Astra is a model from OpenAI. OpenAI's flagship for the hardest end-to-end work across complex reasoning, coding, computer use, research, and document creation.

### How much does GPT-6 Astra cost?

$7 / $35 per million tokens at the prices shown, for input and output respectively. The exact price of every call comes back in the response as usage.cost, so you never have to compute it.

### What is the context length of GPT-6 Astra?

1.1M tokens, and it writes up to 128K tokens in one reply. These are the limits listed for this model in the current AgentSky catalog.

### Which clients can call GPT-6 Astra?

Anything that speaks the OpenAI-compatible request format. Point the client's base URL at the gateway, use an AgentSky key, and pass openai/gpt-6-astra as the model.

### How do I name GPT-6 Astra in a request?

The gateway accepts openai/gpt-6-astra, gpt-6-astra. Any of them resolves to the same model, so an existing integration usually needs no change to its model string.

### Can GPT-6 Astra read images?

Yes. Its listed input types are text, image. Include the image with your request; image input does not imply image generation.

### What output can GPT-6 Astra produce?

The listed output types are text. This model returns text. Producing image, video or audio files requires a suitable tool or another model; it is not included in text generation.

### How should I plan a long prompt for GPT-6 Astra?

Plan your instructions, conversation history and source material around the 1.1M-token context limit, leaving room for the response. The listed response ceiling is 128K tokens. A larger window lets you supply more relevant material; it does not make unrelated content useful.

### What would 10,000 input tokens and 2,000 output tokens cost with GPT-6 Astra?

At the displayed input and output rates, the model-token subtotal is $0.14. This example assumes uncached input and excludes additional pricing categories, tool calls and agent runtime. Actual usage determines the final charge.

### How is cached input priced for GPT-6 Astra?

The catalog lists $0.7 per million cache-read tokens. Repeating a prompt does not by itself guarantee a cache hit; only usage reported as cached receives that rate.

### Does the GPT-6 Astra token price cover an entire agent task?

No. The model price covers the model usage described above. A task can also incur tool and runtime charges, and several model calls may be needed to complete it. Compare total task usage when evaluating cost.

### How do I use GPT-6 Astra on AgentSky?

The composer above preselects GPT-6 Astra for a compatible agent. Enter a concrete task, select any tools or connectors it needs, and send. Sign in if prompted; paid execution requires available credits.
