Skip to content
Agentmart
Submit a tool

github-models-api

Skill by peterlianpi

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/peterlianpi-github-models-api

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
github-models-api
Description
None
License
MIT
Instructions
85 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Skill: GitHub Models API

## Trigger
- "use github models"
- "free api"
- "azure openai"

## Description
Uses GitHub Models (Azure AI) for free API access.

## Prerequisites
```bash
pip install openai

# Get token from:
# github.com/settings/tokens (classic, tokens:read, tokens:write)
# Or Azure AI: https://ai.azure.com
```

## Setup
```bash
export GITHUB_TOKEN=ghp_...
export OPENAI_BASE_URL=https://models.inference.ai.azure.com
```

## Available Models
| Model | Use Case |
|--------|---------|
| gpt-4o | Best quality |
| gpt-4o-mini | Fast, cheap |
| o3-mini | Reasoning |
| claude-sonnet-4 | Alternative |
| gemini-2.0-flash | Fast |
| meta-llama-3.3-70b | Open model |

## Usage
```python
from openai import OpenAI

client = OpenAI(
    base_url="https://models.inference.ai.azure.com",
    api_key=os.environ["GITHUB_TOKEN"]
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello in Zolai?"}]
)
print(response.choices[0].message.content)
```

## Translate with GitHub Models
```python
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{
        "role": "system",
        "content": "You are a Zolai language expert."
    }, {
        "role": "user",
        "content": "Translate to Zolai: 'I eat rice'"
    }]
)
```

## Compare Quality
```python
# Use best model for translations
best_model = "gpt-4o"  # Paid quality, free access
fast_model = "gpt-4o-mini"  # Fast for bulk

# For reasoning tasks
reason_model = "o3-mini"
```

## Rate Limits
| Model | RPM | TPM |
|-------|-----|-----|
| gpt-4o | 500 | 30K |
| gpt-4o-mini | 1500 | 90K |

## Related Skills
- data-cleaner - Clean with AI
- data-labeler - Label with AI
- prompts/master - Full workflow

From peterlianpi/zolai-ai, MIT.

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Apr 19, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from peterlianpi

Cite this page

github-models-api skill. Agent Mart. https://agentmart.dev/skills/peterlianpi-github-models-api (last updated 2026-10-24)