diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml new file mode 100644 index 000000000..eca316cb3 --- /dev/null +++ b/.github/workflows/sync-upstream.yml @@ -0,0 +1,42 @@ +name: Sync with Upstream + +# Automatically sync this fork with the upstream repository +# Runs on a schedule and can be triggered manually + +on: + schedule: + # Run every 6 hours to keep fork in sync + - cron: '0 */6 * * *' + workflow_dispatch: + # Allow manual triggering + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Configure Git + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + - name: Add upstream remote + run: | + git remote add upstream https://github.com/anomalyco/models.dev || true + git fetch upstream + + - name: Sync dev branch + run: | + git checkout dev || git checkout -b dev + git reset --hard upstream/dev + git push --force origin dev + + - name: Sync other branches if needed + run: | + # Add additional branch syncing here if needed + echo "Main dev branch synced successfully" diff --git a/providers/github-copilot/models/gemini-3.1-pro.toml b/providers/github-copilot/models/gemini-3.1-pro.toml new file mode 100644 index 000000000..5d4a9d733 --- /dev/null +++ b/providers/github-copilot/models/gemini-3.1-pro.toml @@ -0,0 +1,23 @@ +name = "Gemini 3.1 Pro" +family = "gemini-pro" +release_date = "2026-02-19" +last_updated = "2026-02-19" +attachment = true +reasoning = true +temperature = true +tool_call = true +structured_output = true +knowledge = "2025-01" +open_weights = false + +[cost] +input = 0 +output = 0 + +[limit] +context = 1_048_576 +output = 65_536 + +[modalities] +input = ["text", "image", "audio", "video", "pdf"] +output = ["text"] diff --git a/providers/google-vertex/models/gemini-3.1-pro.toml b/providers/google-vertex/models/gemini-3.1-pro.toml new file mode 100644 index 000000000..046c3cc7a --- /dev/null +++ b/providers/google-vertex/models/gemini-3.1-pro.toml @@ -0,0 +1,29 @@ +name = "Gemini 3.1 Pro" +family = "gemini-pro" +release_date = "2026-02-19" +last_updated = "2026-02-19" +attachment = true +reasoning = true +temperature = true +tool_call = true +structured_output = true +knowledge = "2025-01" +open_weights = false + +[cost] +input = 2.00 +output = 12.00 +cache_read = 0.20 + +[cost.context_over_200k] +input = 4.00 +output = 18.00 +cache_read = 0.40 + +[limit] +context = 1_048_576 +output = 65_536 + +[modalities] +input = ["text", "image", "video", "audio", "pdf"] +output = ["text"] diff --git a/providers/google/models/gemini-3.1-pro.toml b/providers/google/models/gemini-3.1-pro.toml new file mode 100644 index 000000000..046c3cc7a --- /dev/null +++ b/providers/google/models/gemini-3.1-pro.toml @@ -0,0 +1,29 @@ +name = "Gemini 3.1 Pro" +family = "gemini-pro" +release_date = "2026-02-19" +last_updated = "2026-02-19" +attachment = true +reasoning = true +temperature = true +tool_call = true +structured_output = true +knowledge = "2025-01" +open_weights = false + +[cost] +input = 2.00 +output = 12.00 +cache_read = 0.20 + +[cost.context_over_200k] +input = 4.00 +output = 18.00 +cache_read = 0.40 + +[limit] +context = 1_048_576 +output = 65_536 + +[modalities] +input = ["text", "image", "video", "audio", "pdf"] +output = ["text"] diff --git a/providers/opencode/models/gemini-3.1-pro.toml b/providers/opencode/models/gemini-3.1-pro.toml new file mode 100644 index 000000000..bb2f3c0a9 --- /dev/null +++ b/providers/opencode/models/gemini-3.1-pro.toml @@ -0,0 +1,32 @@ +name = "Gemini 3.1 Pro" +family = "gemini-pro" +release_date = "2026-02-19" +last_updated = "2026-02-19" +attachment = true +reasoning = true +temperature = true +tool_call = true +structured_output = true +knowledge = "2025-01" +open_weights = false + +[cost] +input = 2.00 +output = 12.00 +cache_read = 0.20 + +[cost.context_over_200k] +input = 4.00 +output = 18.00 +cache_read = 0.40 + +[limit] +context = 1_048_576 +output = 65_536 + +[modalities] +input = ["text", "image", "video", "audio", "pdf"] +output = ["text"] + +[provider] +npm = "@ai-sdk/google" \ No newline at end of file