Can mid-sized economies come together to build frontier AI?