anthropic
Claude Sonnet 4
anthropic/claude-sonnet-4
Input$3.00 /1M tokens
·Output$15.00 /1M tokens
Previous-gen Claude — still excellent for coding and analysis.
Code Examples
import requests
response = requests.post(
"https://neurongate.net/v1/chat/completions",
headers={
"Authorization": "Bearer ng-your-api-key",
"Content-Type": "application/json"
},
json={
"model": "anthropic/claude-sonnet-4",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.00300 |
| 1K in + 500 out (typical response) | $0.0105 |
| 10K in + 2K out (document analysis) | $0.0600 |
| 100K in + 10K out (large context) | $0.4500 |
Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.
Frequently Asked Questions
Capabilities
Streaming
YesFunction Calling / Tools
YesVision (Image Input)
YesAudio Processing
NoContext Window
200K tokens
~150K words of text
Max output
8K tokens
Modalities
Input
textimage
Output
text