OpenAI-compatible API · settled on Solana
Frontier models, billed below list price.
One API key for Claude, GPT, Gemini and the rest, paid in CREDIT that trades below the $1 of inference it buys.
https://api.synaps.sh/v1Price a request
Sample dataList price
was $20.00
Synaps price
$14.07
You keep $5.93 per 1M output tokens
29.6% under list
POST /v1/chat/completions
modelanthropic/claude-opus-5.5
List prices come from the upstream model catalogue, refreshed hourly. The Synaps price assumes CREDIT bought at the best level of the sample book (30.0% off) and includes the 0.5% activation fee.
- 259models you can callLive
- 30.0%best discount in the bookSample data
- 1:1USDC backing per CREDITBy design
How it works
Follow the fee
Whole loop · 6 steps
Whole loop, 6 steps: Synaps doesn't subsidize your bill.
Synaps doesn't subsidize your bill.
A fee on every SYNAPS trade funds the discount. Pick a step to follow it to an API call.
Step 01 / 06 · Fee
Step 1 of 6, Fee: $0 of your discount is paid by Synaps. By design.
of your discount is paid by Synaps.
Every SYNAPS trade on Meteora pays a fee in USDC, and a keeper sends the protocol's share to the vault (fund).
Step 02 / 06 · Reserve
Step 2 of 6, Reserve: 1 to 1, USDC to CREDIT. By design.
CREDIT is minted only against USDC already in the vault.
reserve_vault releases USDC only for burned CREDIT. Sample vault: 1.33 USDC per unactivated CREDIT Sample data
Step 03 / 06 · Stakers
Step 3 of 6, Stakers: a 1 second accrual step. By design.
Stakers earn CREDIT by the second.
Stake SYNAPS to accrue one CREDIT per USDC deposited, pro rata. Claim any time (stake · claim).
Step 04 / 06 · Book
Step 4 of 6, Book: 0.70 USDC per CREDIT at the top of the sample book. Sample data.
for one CREDIT at the top of the book; it buys $1 of inference.
Stakers list CREDIT as DLMM limit orders, from just under $1 to 30.0% off. Sample book: 62,260 CREDIT listed.
Open the order bookStep 05 / 06 · Activate
Step 5 of 6, Activate: 1 transaction to buy and burn. By design.
to buy CREDIT and burn it into API balance.
The swap and the burn settle in one Solana transaction (activate). Activation fee 0.5% Sample data
Step 06 / 06 · API
Step 6 of 6, API: 259 models. Live.
behind one OpenAI-compatible key.
Each CREDIT pays for $1 of usage at list price, on exactly the model you name. Gateway overhead p50 38 ms Sample data
See the two-line switch| Model | List price | Synaps price | You keep |
|---|---|---|---|
| Claude Opus 5.5anthropic/claude-opus-5.5 | $14.07 | ||
| Claude Sonnet 5.5anthropic/claude-sonnet-5.5 | $7.04 | ||
| GPT-6.1 Sol (Higher rate from 272K prompt tokens)openai/gpt-6.1-sol | $7.04 | ||
| GPT-6 Luna (Higher rate from 272K prompt tokens)openai/gpt-6-luna | $0.352 | ||
| Gemini 3.1 Pro Preview (Higher rate from 200K prompt tokens)google/gemini-3.1-pro-preview | $8.44 | ||
| Gemini 3.8 Flashgoogle/gemini-3.8-flash | $2.64 | ||
| Grok 4.7 (Higher rate from 200K prompt tokens)x-ai/grok-4.7 | $4.22 | ||
| DeepSeek V4.1 Flashdeepseek/deepseek-v4.1-flash | $0.844 | ||
| Kimi K3moonshotai/kimi-k3 | $9.85 | ||
| GLM 5.3z-ai/glm-5.3 | $4.92 |
Synaps prices use CREDIT at the best level of the sample book (30.0% off), 0.5% activation fee included: 29.6% under list. List prices come from the upstream model catalogue, refreshed hourly. Base rates shown. From 200K or 272K prompt tokens the provider's higher list rate applies, at the same discount.
| Level | CREDIT | Price | Cost |
|---|---|---|---|
| 30.0% off | 1,005.03 | $703.52 | |
| Total | 1,005.03 | $703.52 |
Includes the 0.5% activation fee. Bigger orders reach shallower discounts, so your blended rate drops as size grows.
| Discount | Price | Available | Cumulative | Depth |
|---|---|---|---|---|
| 30.0%Best | 0.70 | 1,240 | 1,240 | |
| 26.0% | 0.74 | 3,580 | 4,820 | |
| 22.0% | 0.78 | 6,920 | 11,740 | |
| 18.0% | 0.82 | 9,410 | 21,150 | |
| 14.0% | 0.86 | 12,760 | 33,910 | |
| 10.0% | 0.90 | 15,300 | 49,210 | |
| 6.0% | 0.94 | 8,900 | 58,110 | |
| 2.0% | 0.98 | 4,150 | 62,260 |
Price is USDC per CREDIT. Each CREDIT activates into $1 of usage before the activation fee, so a 22% discount means $1 of inference for about $0.78.
Invariant, enforced by synaps_credit
Running totals kept in the program's config account
vault ≥ funded − withdrawn
≥ (minted − activated) + unclaimed
withdrawn ≤ activatedHow the program enforces it
- Mint follows deposit. Rewards accrue from USDC the keeper has already deposited, and every division rounds down, so claims can never exceed the reserve.
- Withdrawals follow burns.
withdraw_reserverefuses any amount above what activations have burned. Unactivated CREDIT keeps its dollar in the vault. - Exits stay open. Pausing blocks staking, claiming and activation; unstaking always works.
Program 9Uowtx…aCTYiq · pre-alpha, not audited.
import osfrom openai import OpenAI client = OpenAI(Changed line: base_url="https://api.synaps.sh/v1",Changed line: api_key=os.environ["SYNAPS_API_KEY"],) completion = client.chat.completions.create( model="anthropic/claude-sonnet-5.5", messages=[{"role": "user", "content": "Summarize this changelog."}],)print(completion.choices[0].message.content)import OpenAI from "openai"; const client = new OpenAI({Changed line: baseURL: "https://api.synaps.sh/v1",Changed line: apiKey: process.env.SYNAPS_API_KEY,}); const completion = await client.chat.completions.create({ model: "anthropic/claude-sonnet-5.5", messages: [{ role: "user", content: "Summarize this changelog." }],});console.log(completion.choices[0].message.content);import { createOpenAICompatible } from "@ai-sdk/openai-compatible";import { generateText } from "ai"; const synaps = createOpenAICompatible({ name: "synaps",Changed line: baseURL: "https://api.synaps.sh/v1",Changed line: apiKey: process.env.SYNAPS_API_KEY,}); const { text } = await generateText({ model: synaps("anthropic/claude-sonnet-5.5"), prompt: "Summarize this changelog.",});Changed line: curl "https://api.synaps.sh/v1/chat/completions" \Changed line: -H "Authorization: Bearer $SYNAPS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "anthropic/claude-sonnet-5.5", "messages": [{"role": "user", "content": "Summarize this changelog."}] }'Same API. Model ids, request bodies and streaming work the way they do with OpenAI's API.
Get a key. Sign in with your Solana wallet and create one on the account page. No email, no card.
Fund it. Activate CREDIT to your wallet's balance. Usage draws it down at each model's list price.
Anthropic SDK? The gateway speaks the OpenAI Chat Completions format only, so use an OpenAI-compatible client for Claude models.