Quickstart
flopshop speaks the OpenAI API. Sign in, create a key, export it as FLOPSHOP_API_KEY, and point any OpenAI client at https://api.flopshop.dev/v1. Model: deepseek-v4-flash.
Your prompts pass through other people's GPUs. Don't send secrets or personal data.
curl
Export your key as FLOPSHOP_API_KEY, then call the chat completions endpoint.
curl https://api.flopshop.dev/v1/chat/completions \
-H "Authorization: Bearer $FLOPSHOP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4-flash", "max_tokens": 256, "messages": [{"role": "user", "content": "Hello!"}]}'Python (openai)
Any OpenAI SDK works: set the base URL and the key.
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.flopshop.dev/v1", api_key=os.environ["FLOPSHOP_API_KEY"])
response = client.chat.completions.create(
model="deepseek-v4-flash",
max_tokens=256,
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Node.js (openai)
Same for the JavaScript SDK (ES module).
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://api.flopshop.dev/v1', apiKey: process.env.FLOPSHOP_API_KEY })
const response = await client.chat.completions.create({
model: 'deepseek-v4-flash',
max_tokens: 256,
messages: [{ role: 'user', content: 'Hello!' }],
})
console.log(response.choices[0].message.content)Aider
Aider reaches any OpenAI-compatible endpoint through the openai/ model prefix.
# pip install aider-chat
export OPENAI_API_BASE=https://api.flopshop.dev/v1
export OPENAI_API_KEY=$FLOPSHOP_API_KEY
aider --model openai/deepseek-v4-flashBilling notes
- The upstream bills at least 64 completion tokens per request, even if max_tokens is lower.
- Reasoning tokens count as completion tokens and are billed.
- GLM models reason first: with small max_tokens they can return empty content. Use max_tokens of 256 or more.