Skip to content

sixfingerdev/sixfinger-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sixfinger API

Single API. 35+ models. Credit-based billing. Streaming built in.

Discord API Live Docs PyPI

Sixfinger is a production-ready AI gateway with 35+ models including Claude Sonnet, Haiku, Opus, Llama, Qwen, DeepSeek, and more. Streaming, credit-based usage, and multilingual support — all behind a single OpenAI-compatible endpoint.


Join Our Discord

https://discord.gg/AtwqzqpwR8

  • Test models with our SixFinger API Test Bot
  • Request new models by opening issues
  • Participate in giveaways
  • Get support and share your projects

OpenAI-Compatible API

Use the official OpenAI Python/Node.js SDK:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.sixfinger.live/v1",
    api_key="sixfinger_xxx"
)

response = client.chat.completions.create(
    model="gpt-5",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Streaming:

from openai import OpenAI

client = OpenAI(base_url="https://api.sixfinger.live/v1", api_key="sixfinger_xxx")

for chunk in client.chat.completions.create(
    model="claude-haiku-4-5",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True
):
    content = chunk.choices[0].delta.content
    if content:
        print(content, end="", flush=True)

Quick Start

curl -X POST https://api.sixfinger.live/v1/chat/completions \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-sonnet-4-6", "messages": [{"role": "user", "content": "Hello!"}]}'
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "model": "claude-sonnet-4-6",
  "choices": [{
    "index": 0,
    "message": {"role": "assistant", "content": "Hello! How can I help you?"},
    "finish_reason": "stop"
  }],
  "usage": {"prompt_tokens": 10, "completion_tokens": 8, "total_tokens": 18}
}

Python SDK:

pip install sixfinger
from sixfinger import API

client = API(api_key="YOUR_KEY")
response = client.chat("Hello!", model="claude-sonnet-4-6")
print(response.content)

Claude Models

5 Claude models available across all plans:

Key Model Cost (input / output per 1M tokens)
claude-sonnet-4-6 Claude Sonnet 4.6 3 / 15 SF
claude-haiku-4-5 Claude Haiku 4.5 1 / 5 SF
claude-sonnet-5 Claude Sonnet 5 2 / 10 SF
claude-opus-4-8 Claude Opus 4.8 5 / 25 SF
claude-opus-4-7 Claude Opus 4.7 5 / 25 SF

Plans

Plan Price Monthly Credits Streaming
Free $0 20 SF
Starter $5 100 SF
Pro $15 400 SF
Plus $39 1500 SF

Credits are consumed per request based on model pricing. Free models (0 SF per 1M tokens) cost nothing. Purchased credits never expire.


Get Your API Key

  1. Sign up at api.sixfinger.live
  2. Verify your email
  3. Grab your API key from the dashboard

Documentation

Full API docs at api.sixfinger.live/docs

Endpoints:

POST /v1/chat/completions    — OpenAI-compatible chat (stream or sync)
GET  /v1/models              — List available models
POST /api/v1/chat            — Legacy chat
GET  /api/v1/stats           — Usage stats
GET  /health                 — Health check

Contact

sixfingerdev@gmail.com · Built by @sixfingerdev


If this saved you time, a star helps a lot!

Releases

No releases published

Packages

 
 
 

Contributors

Languages