Text Generation

OpenAI logoOpenAI

GPT 6 API

OpenAI GPT-6 — a flagship model for complex reasoning, code generation, and multi-step instructions, with a 400K-token context window for demanding apps

24H Status Monitor
24h success rate: 69%
G

Model:

gpt-6-astra
Price: 7 credits per 1K input tokens · ≈ $0.0035-$0.007 · 60 credits per 1K output tokens · ≈ $0.03-$0.06High stability with detailed usage records on the APIAny platform.
PlaygroundHistoryPricingAPI
gpt-6-astra
62 (suggested: 2,000)
0.7
02

Sampling temperature. Lower is more deterministic.

1024
168192
->

USD estimate $0.031-$0.062: highest recharge package uses $1 = 2,000 credits; entry package uses $1 = 1,000 credits.

Preview
No Task Running
G
LLMResult preview

History

Saved locally in this browser

0 running · 0 completed

Your generation history will appear here

Input

7 credits/1K

≈ $0.0035-$0.007

Output

60 credits/1K

≈ $0.03-$0.06

Cache

1.06 credits/1K

≈ $0.0005-$0.0011

Context

-

Max output

-
View API usage
Pricing
Model ID
Type
Quality
Price
gpt-6-astra
Text Generation
Input tokens
7 credits per 1K input tokens · ≈ $0.0035-$0.007
gpt-6-astra
Text Generation
Cache read tokens
1.06 credits per 1K cached input tokens · ≈ $0.0005-$0.0011
gpt-6-astra
Text Generation
Output tokens
60 credits per 1K output tokens · ≈ $0.03-$0.06
gpt-6-astra
Text Generation
Minimum request
1.5 credits minimum · ≈ $0.0008-$0.0015
Model IDgpt-6-astra
TypeText Generation
QualityInput tokens
Price7 credits per 1K input tokens · ≈ $0.0035-$0.007
Model IDgpt-6-astra
TypeText Generation
QualityCache read tokens
Price1.06 credits per 1K cached input tokens · ≈ $0.0005-$0.0011
Model IDgpt-6-astra
TypeText Generation
QualityOutput tokens
Price60 credits per 1K output tokens · ≈ $0.03-$0.06
Model IDgpt-6-astra
TypeText Generation
QualityMinimum request
Price1.5 credits minimum · ≈ $0.0008-$0.0015

API Reference

Call this model through a standard REST API. Authenticate with your API key, then pick an endpoint below to see its parameters and examples.

Authentication

Every request needs a Bearer token in the Authorization header. Create an API key in the console.

Authorization: Bearer YOUR_API_KEY
POSThttps://apiany.ai/v1/chat/completions

Request parameters

ParameterTypeRequiredNotes
modelstringRequiredModel identifier to invoke. Use this model's ID.
messagesarrayRequiredConversation history in OpenAI chat format (role + content).
streambooleanOptionalWhen true, the response streams back as server-sent events.

Request example

curl "https://apiany.ai/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-6-astra",
  "messages": [
    {
      "role": "user",
      "content": "Summarize the following text in three concise bullet points:"
    }
  ],
  "temperature": 0.7,
  "max_tokens": 1024
}'

Response example

{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "model": "gpt-6-astra",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 12,
    "completion_tokens": 18,
    "total_tokens": 30
  }
}

More models

Explore all models

GLM-5.2

GLM logoText Generation

Gemini 3.5 Flash

Google logoText Generation

MiniMax M3

MiniMax logoText Generation

DeepSeek V4

DeepSeek logoText Generation

New users get free credits - no credit card required Get started
APIAny logoAPIAny
AI Models
PricingFree API
Resources
Sign InGet Started

APIAny API gateway for every production AI model.

Popular Models

Collections

Model Types

Platform

  • Docs
  • Contact

Legal

APIAny logoAPIAny© 2026 APIAny. All rights reserved.
support@apiany.ai
Seedance 2.0
GPT Image 2
Nano Banana 2
Z-Image
Gemini Omni
All Collections
GPT API Family
Seedance API Family
Gemini API Family
GPT Image API
Text Generation
Image Generation
Video Generation
Audio Generation
Models
Pricing
About
Privacy Policy
Terms of Service
Refund Policy
English
Français
Deutsch
中文
日本語
한국어
Español