首页/gpt-6-astra
OpenAI

gpt-6-astra

gpt-6-astra
Price
输入 /Mt输出 /Mt
UncachedCache ReadCache Write (30m)Output
$ 9.5$ 10
$ 0.95$ 1
$ 11.875$ 12.5
$ 47.5$ 50

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.highwayapi.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="gpt-6-astra",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=128000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantification
-

Supported Features

Context length
1.1M
Maximum output
128K
Function call
Support
Structured output
Support
Reasoning
Support
serverless
Support
Input Capabilities
text, image
Output Capabilities
text
Contact Us