{"id":35429886,"url":"https://github.com/mirai73/bedrock-models","last_synced_at":"2026-04-12T11:11:47.391Z","repository":{"id":325848753,"uuid":"1102092218","full_name":"mirai73/bedrock-models","owner":"mirai73","description":"A simple package that simplify working with Bedrock model id","archived":false,"fork":false,"pushed_at":"2026-04-12T01:50:54.000Z","size":198,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-12T03:28:57.030Z","etag":null,"topics":["aws","aws-bedrock","library","models"],"latest_commit_sha":null,"homepage":"https://mirai73.github.io/bedrock-models/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirai73.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T20:00:25.000Z","updated_at":"2026-04-12T01:51:01.000Z","dependencies_parsed_at":"2026-02-22T23:02:51.223Z","dependency_job_id":null,"html_url":"https://github.com/mirai73/bedrock-models","commit_stats":null,"previous_names":["mirai73/bedrock-models"],"tags_count":114,"template":false,"template_full_name":null,"purl":"pkg:github/mirai73/bedrock-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai73%2Fbedrock-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai73%2Fbedrock-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai73%2Fbedrock-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai73%2Fbedrock-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirai73","download_url":"https://codeload.github.com/mirai73/bedrock-models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai73%2Fbedrock-models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31712549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-bedrock","library","models"],"created_at":"2026-01-02T20:17:22.986Z","updated_at":"2026-04-12T11:11:47.385Z","avatar_url":"https://github.com/mirai73.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bedrock Models Explorer Monorepo\n\n[![Build Status](https://github.com/mirai73/bedrock-models/actions/workflows/ci.yml/badge.svg)](https://github.com/mirai73/bedrock-models/actions)\n[![License: MIT-0](https://img.shields.io/badge/License-MIT--0-blue.svg)](https://opensource.org/licenses/MIT-0)\n\nA comprehensive toolkit for working with Amazon Bedrock foundation models, providing type-safe model IDs, cross-region inference utilities, and an interactive explorer.\n\n## 🌐 [Browse Models Online](https://mirai73.github.io/bedrock-models/)\n\nExplore all available Bedrock models with our interactive web interface. Search by model name, filter by region, and find CRIS-enabled models.\n\n## Repository Structure\n\nThis is a monorepo managed with `pnpm` and `turbo`.\n\n- **[`packages/python`](file:///packages/python)**: Python library with model constants and CRIS utilities.\n- **[`packages/typescript`](file:///packages/typescript)**: TypeScript/JavaScript library with parity to the Python implementation.\n- **[`docs`](file:///docs)**: Source for the interactive Model Explorer website.\n- **[`packages/shared`](file:///packages/shared)**: Shared data (`bedrock_models.json`) and generation scripts.\n\n## Features\n\n- **Type-safe model IDs**: Access all Bedrock model IDs as constants with full autocomplete support in Python and TypeScript.\n- **Cross-Region Inference (CRIS)**: Automatically generate geo-prefixed or global model IDs.\n- **Region Validation**: Check model availability across AWS regions.\n- **Auto-updated**: Model data is refreshed weekly from the AWS Bedrock API.\n\n## Quick Start\n\n### Python\n\n```bash\npip install bedrock-models\n```\n\n```python\nfrom bedrock_models import Models, cris_model_id\n\n# Use model IDs with autocomplete\nmodel_id = Models.ANTHROPIC_CLAUDE_SONNET_4_5_20250929\n# Get regional CRIS ID\ncris_id = cris_model_id(model_id, region=\"us-east-1\")\n\n# Qwen example\nqwen_id = Models.QWEN_QWEN3_32B.cris(\"ap-southeast-1\")\n```\n\n### TypeScript / JavaScript\n\n```bash\nnpm install bedrock-models\n```\n\n```typescript\nimport { Models, crisModelId } from 'bedrock-models';\n\n// Use model IDs with autocomplete\nconst modelId = Models.ANTHROPIC_CLAUDE_SONNET_4_5_20250929;\n// Get regional CRIS ID\nconst crisId = crisModelId(modelId, 'us-east-1');\n\n// Or use the fluent API\nconst fluentId = Models.ANTHROPIC_CLAUDE_SONNET_4_5_20250929.cris('us-east-1');\n\n// Qwen example\nconst qwenId = Models.QWEN_QWEN3_32B.cris('ap-southeast-1');\n```\n\n## Development\n\n### Prerequisites\n\n- [pnpm](https://pnpm.io/)\n- [Python 3.10+](https://www.python.org/)\n- [Poetry](https://python-poetry.org/) (for Python package development)\n\n### Setup\n\n```bash\n# Install Node.js dependencies\npnpm install\n\n# Build all packages\npnpm build\n\n# Run tests\npnpm test\n```\n\n### Regenerating Model Data\n\nThe model data is centralized in `packages/shared/bedrock_models.json`. To update it:\n\n```bash\npnpm generate\n```\n\nThis runs the Python script that fetches the latest models from AWS (requires AWS credentials).\n\n## License\n\nMIT-0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirai73%2Fbedrock-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirai73%2Fbedrock-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirai73%2Fbedrock-models/lists"}