Your agent.
A world of minds.
Give your applications access to the open model market. One API, free and paid models, and boundaries you decide.
A familiar interface.
A fresh possibility.
Use your existing OpenAI client with a SWAY base URL. Choose a model from the live catalog, then let your agent get to work.
01 · Connect your wallet
Sign in with a Solana wallet. Free models need no prepaid credits.
02 · Create a project key
Set model access, a per-request ceiling, and a daily budget.
03 · Make your first call
Try a supported free model. Paid usage requires credits and is charged at the provider-reported cost.
from openai import OpenAI
import os
client = OpenAI(
base_url="https://YOUR-SWAY-DOMAIN/api/v1",
api_key=os.environ["SWAY_API_KEY"],
)
response = client.chat.completions.create(
model="liquid/lfm-2.5-2.6b:free",
messages=[{
"role": "user",
"content": "Find a new perspective."
}],
max_tokens=512,
)
print(response.choices[0].message.content)Boundaries, built in.
Keys enforce model allowlists, maximum request costs, and daily spending limits.
A balance you control.
Free models need no prepaid credits. USDC credits pay for paid model usage when checkout is available.
Choose your intelligence.
Switch between supported chat models using the same request format. Free requests have account and shared provider limits.
API keys
Give each project its own key, model access, and spending limits.
A connection starts here.
Connect your wallet to create a key for your agents.