New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Home / Pricing / Models / claude-sonnet-4-6 vs gpt-6.2-astra

claude-sonnet-4-6 vs gpt-6.2-astra: API Pricing & Capabilities

Unit prices, a monthly cost example and capabilities of claude-sonnet-4-6 and gpt-6.2-astra, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.

claude-sonnet-4-6: Claude Sonnet 4.6 delivers frontier intelligence at scale, purpose-built for coding, agentic workflows, and enterprise use cases.

gpt-6.2-astra: GPT-6.2 Astra can build and modify software, operate computers, and handle documents. It supports text and image input and responds in text form. In the Responses API, you can delegate tasks to sub-agents using the multi-agent beta.

Price overview

For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.

Itemclaude-sonnet-4-6gpt-6.2-astra
ProviderAnthropicOpenAI
GroupKiro-Claude-1Codex-Gpt-1
Input (USD / 1M tokens)$0.2647$0.2942
Output (USD / 1M tokens)$1.324$1.471
Cache read (USD / 1M tokens)$0.0265$0.0147
Monthly cost example$52.94$58.83

Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.

gpt-6.2-astra has long-context tiers; the example uses first-tier prices.

Prices by group

USD per 1M tokens. Price = base price × group ratio.

claude-sonnet-4-6 by group

GroupInputOutputCache readMonthly example
Kiro-Claude-1$0.2647$1.324$0.0265$52.94
Claude-Code-1$0.5294$2.647$0.0529$105.88
Claude-Code-2$0.8824$4.412$0.0882$176.47
AWS-Bedrock-1$1.324$6.618$0.1324$264.71
AWS-Claude-1$1.324$6.618$0.1324$264.71
Azure-Claude-1$1.324$6.618$0.1324$264.71
Claude-Code-3$1.35$6.75$0.135$270.00
AWS-Bedrock-2$1.765$8.824$0.1765$352.94
AWS-Claude-2$2.647$13.235$0.2647$529.42
Anthropic-Claude-1$3.30$16.50$0.33$660.00
AWS-Claude-3$3.30$16.50$0.33$660.00

gpt-6.2-astra by group

GroupInputOutputCache readMonthly example
Codex-Gpt-1$0.2942$1.471$0.0147$58.83
Codex-Gpt-2$0.4706$2.353$0.0235$94.13
Codex-Gpt-3$0.5882$2.941$0.0294$117.65
Azure-Gpt-3$1.76$8.80$0.088$352.00
Azure-Gpt-4$3.52$17.60$0.176$704.00
Openai-Gpt-1$4.706$23.53$0.2353$941.18
Azure-Gpt-5$4.80$24.00$0.24$960.00
Openai-Gpt-2$5.882$29.412$0.2941$1,176.48
Azure-Gpt-6$7.20$36.00$0.36$1,440.00

Same-group comparison

The two models share no group, so each monthly example uses its own groups (see the tables above).

Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.

Capabilities

Itemclaude-sonnet-4-6gpt-6.2-astra
ProviderAnthropicOpenAI
Context——
FeaturesConversation · Image Recognition · ToolsConversation · Tools · Image Recognition · Thinking
API formatsAnthropic Messages · OpenAI Chat CompletionsOpenAI Chat Completions · OpenAI Responses
Long-context tiersNoYes

Which one to choose

  • Lower cost: claude-sonnet-4-6 is cheaper — about $52.94 vs $58.83 for gpt-6.2-astra in the monthly example above.
  • Need the Anthropic Messages format (/v1/messages, e.g. tools like Claude Code): choose claude-sonnet-4-6.
  • Need Thinking: gpt-6.2-astra supports it.
  • Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.

Quick start

Base URL: https://api.openlux.ai/v1. The example uses claude-sonnet-4-6; change model to gpt-6.2-astra to call the other model.

curl · /v1/chat/completions
curl https://api.openlux.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Full parameters in the API docs

FAQ

Which is cheaper, claude-sonnet-4-6 or gpt-6.2-astra?

At build time, the lowest public prices were: claude-sonnet-4-6 (Kiro-Claude-1 group) input $0.2647, output $1.324 per 1M tokens; gpt-6.2-astra (Codex-Gpt-1 group) input $0.2942, output $1.471 per 1M tokens. For 100M input + 20M output tokens a month, claude-sonnet-4-6 costs about $52.94 and gpt-6.2-astra about $58.83.

Can I use one API key for both claude-sonnet-4-6 and gpt-6.2-astra?

Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to claude-sonnet-4-6 or gpt-6.2-astra. Usage of both models is billed from the same balance.

Which API formats do claude-sonnet-4-6 and gpt-6.2-astra support?

claude-sonnet-4-6: Anthropic Messages, OpenAI Chat Completions. gpt-6.2-astra: OpenAI Chat Completions, OpenAI Responses.

Is there a Batch API?

Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.

More

  • claude-sonnet-4-6 pricing & access
  • gpt-6.2-astra pricing & access

More claude-sonnet-4-6 comparisons

  • claude-sonnet-4-6 vs claude-opus-5-5
  • claude-sonnet-4-6 vs gpt-6.1-sol
  • claude-sonnet-4-6 vs gpt-6-astra

More gpt-6.2-astra comparisons

  • gpt-6.2-astra vs gemini-4-carbon
  • gpt-6.2-astra vs gpt-5.5-pro
  • gpt-6.2-astra vs gemini-3.1-pro-preview
  • gpt-6.2-astra vs grok-4.3
  • gpt-6.2-astra vs kimi-k3.1-pro
  • gpt-6.2-astra vs claude-opus-5-5
  • gpt-6.2-astra vs mimo-v2.6-pro
  • gpt-6.2-astra vs grok-4.7
  • Model directory
  • All model pricing
  • Sign up and get an API key

Other languages: 中文 · 日本語 · 한국어

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |